package com.cfinnovate.interoperability.wrapper;

import java.util.Enumeration;

import javax.portlet.PortalContext;
import javax.portlet.PortletConfig;
import javax.portlet.PortletMode;
import javax.portlet.PortletPreferences;
import javax.portlet.PortletRequest;
import javax.portlet.PortletSession;
import javax.portlet.RenderRequest;
import javax.portlet.WindowState;

public class FauxRenderRequest extends HttpServletRequestWrapper implements
		RenderRequest {

	public FauxRenderRequest(PortletRequest request, PortletConfig cfg) {
		super(request, cfg);
	}

	public PortalContext getPortalContext() {
		return request.getPortalContext();
	}

	public PortletMode getPortletMode() {
		return request.getPortletMode();
	}

	public PortletSession getPortletSession() {
		return request.getPortletSession();
	}

	public PortletSession getPortletSession(boolean create) {
		return request.getPortletSession(create);
	}

	public PortletPreferences getPreferences() {
		return request.getPreferences();
	}

	public Enumeration getProperties(String name) {
		return request.getProperties(name);
	}

	public String getProperty(String name) {
		return request.getProperty(name);
	}

	public Enumeration getPropertyNames() {
		return request.getParameterNames();
	}

	public String getResponseContentType() {
		return request.getResponseContentType();
	}

	public Enumeration getResponseContentTypes() {
		return request.getResponseContentTypes();
	}

	public WindowState getWindowState() {
		return request.getWindowState();
	}

	public boolean isPortletModeAllowed(PortletMode mode) {
		return request.isPortletModeAllowed(mode);
	}

	public boolean isWindowStateAllowed(WindowState state) {
		return request.isWindowStateAllowed(state);
	}

	public String getETag() {
		// TODO Auto-generated method stub
		return null;
	}

}
